﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="newslist.aspx.cs" Inherits="CNDM.Ajax.newslist" %>
<asp:Repeater ID="repList" runat="server" OnItemDataBound="repList_ItemDataBound">
    <ItemTemplate>
        <article>
            <div class="heading">
		        <h2><a href="<%# Eval("NewsUrl") %>" title='<%# Eval("News_title") %>'><%# Eval("News_title") %></a></h2>
		        <p class="info"><%# Eval("VietNamDate")%></p>
	        </div>
	        <div class="content">
		         <asp:Image CssClass="list" id="imgNews" runat="server" ></asp:Image>
                <p><%# Eval("News_InitContent") %></p>
            </div>
        </article>
    </ItemTemplate>
</asp:Repeater>
